Labels:text | electronics | screenshot | display | software | number | font OCR: SORTFLTR :: btnOk :: pushButton* method pushButton(var eventInfo Event) var dyMastRec vPassDynArray endVar ; Make sure value in field isn't blank. if fldSortOrder.isBlank() then fldSortOrder - 1stSortOrder.list.value endIf ; If the record is new or is being edited and hasn't been posted, then ; switching the index might fail if the record can't be posted. if uiMastTable.switchIndex(dyIndexes[fldSortOrder], True) then if fldFilterToggle = "Filter Off" then fCaller.setFilter() else DoFilter() ; Create filter command endIf dySortInfo["Index"] = fldSortOrder dySortInfo["Filter"] = iif(fldFilterToggle = "Filter off","None", String(txtFilterValue)) endIf ; Update the values in the calling form's dySortInfo array fCaller.boxSpeedBar.btnSortFilter.PutInfo(dySortInfo) tcMast.close() ; Close the TCursor FormReturn( ) endMethod Edit Line: 11 Col: 1